package com.bike.mapper;

import com.bike.entity.SysMenu;
import java.util.List;
import com.bike.util.PageData;
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;

public interface SysMenuMapper {
    int deleteByPrimaryKey(Long menuId);

    int insertSelective(SysMenu record);

    SysMenu selectByPrimaryKey(Long menuId);

    int updateByPrimaryKeySelective(SysMenu record);

	List<SysMenu> selectByPage(PageData pd, PageBounds pageBounds);
	
	List<SysMenu> selectAll(PageData pd);

	List<SysMenu> selectByParentId(long parentId);

	List<SysMenu> selectAllOrderLeve(PageData pageData);

	int deleteByParentId(long menuId);

	SysMenu selectByUrl(String url);
}